/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.roof;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindRoofPerimeterListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindRoofPerimeterListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindRoofPerimeterUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindRoofPerimeterHANG1(), "1 = Roof overhang < 2 Feet");
		this.addItem(constants.schemaWindRoofPerimeterHANG2(), "2 = Roof overhang > 2 Feet");
		this.addItem(constants.schemaWindRoofPerimeterPARAPET1(), "3 = Braced parapet");
		this.addItem(constants.schemaWindRoofPerimeterPARAPET2(), "4 = Unbraced parapet");
		this.addItem(constants.schemaWindRoofPerimeterHANGPARA1(), "5 = Overhang & braced parapet");
		this.addItem(constants.schemaWindRoofPerimeterHANGPARA2(), "6 = Overhand & unbraced parapet");
		this.addItem(constants.schemaWindRoofPerimeterNONE(), "7 = None");
		this.addItem(constants.schemaWindRoofPerimeterOTHER(), "99 = Other");
	}
	
/*
# roof perimeter architecture
schemaWindRoofPerimeterUNKNOWN=Unknown
schemaWindRoofPerimeterHANG1=Roof overhang < 2 Feet
schemaWindRoofPerimeterHANG2=Roof overhang > 2 Feet
schemaWindRoofPerimeterPARAPET1=Braced parapet
schemaWindRoofPerimeterPARAPET2=Unbraced parapet
schemaWindRoofPerimeterHANGPARA1=Overhang & braced parapet
schemaWindRoofPerimeterHANGPARA2=Overhang & unbraced parapet
schemaWindRoofPerimeterNONE=None
schemaWindRoofPerimeterOTHER=Other
0 = Unknown
1 = Roof overhang < 2 Feet
2 = Roof overhang > 2 feet
3 = Braced parapet
4 = Unbraced parapet
5 = Overhang & braced parapet
6 = Overhang & unbraced parapet
7 = None
99 = Other
 */	
}
